<?php

class Agama extends \Eloquent {

	public function penduduks(){
		return $this->hasMany('Agama');
	}

	// Add your validation rules here
	public static $rules = [
		'nama' => 'required',
	];

	// Don't forget to fill this array
	protected $fillable = ["nama","keterangan","is_active","user_id","ref_id","action"];

}